package com.common.event;

//如果你需要在登录成功后自动刷新其他页面，可以添加事件监听：
public class LoginEvent {
    public static final int LOGIN_SUCCESS = 1;
    public static final int LOGOUT_SUCCESS = 2;

    private int eventType;

    public LoginEvent(int eventType) {
        this.eventType = eventType;
    }

    public int getEventType() {
        return eventType;
    }
}
